//
// Created by ole on 24-8-27.
//

#ifndef PLUGINLOADER_H
#define PLUGINLOADER_H
#include <string>

#include "BasePlugin.h"


class PluginLoader {
public:
    void *load(const std::string &path) const;

    void unload(const std::string &path, void *handle) const;

    std::shared_ptr<BasePlugin> createShared(void *handle) const;

    std::string TAG = "PluginLoader";
};


#endif //PLUGINLOADER_H
